﻿//----------------------------------------------------------------------------------------------------
// The NotificationManager is responsible for generating notifications for the player.
//----------------------------------------------------------------------------------------------------

package HG.Managers
{
	import HG.GameService;
	
	import HG.Visual.VisualNotificaitonBar;

	public class NotificationManager extends IGameManager
	{
		var m_notificationBar:VisualNotificaitonBar;
		
		//----------------------------------------------------------------------------------------------------
		public function NotificationManager()
		{

		}
		
		//----------------------------------------------------------------------------------------------------
		public override function Initialize()
		{
		}
		
		//----------------------------------------------------------------------------------------------------
		public override function Shutdown()
		{
			
		}
		
		//----------------------------------------------------------------------------------------------------
		public override function OnTick(DeltaTime:Number)
		{
			
		}
		
		//----------------------------------------------------------------------------------------------------
		public function RegisterNotificationBar(object:VisualNotificaitonBar)
		{
			m_notificationBar = object;
		}
		
		//----------------------------------------------------------------------------------------------------
		public function RaiseNotification(textString:String)
		{
			m_notificationBar.SetValue(textString);
		}
		
		//----------------------------------------------------------------------------------------------------
	}
}